package Day02;

import java.util.Scanner;

public class Demo15 {
    public static void main(String[] args) {
        //AI
        Scanner sc = new Scanner(System.in);//创建一个键盘输入
        while(true){
            String question = sc.next();//这个必须放里面  不然会导致无限循环
            question = question.replace("吗","");//把用户输入的吗替换为空白
            question = question.replace("？","！");//把用户输入的？替换为！
            question = question.replace("我","我也");//把用户输入的我替换为我也
            System.out.println(question);//人工智能语言输出
        }
    }
}
